
package com.insigma.business.qrcode.merchant.dao;

import com.insigma.business.qrcode.merchant.dto.search.CareWelfareMerchantEvaluationBSearcher;
import com.insigma.business.qrcode.merchant.entity.CareWelfareMerchantEvaluationDO;
import com.insigma.business.qrcode.pay.dto.CareWelfareMerchantEvaluationCountDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CareWelfareMerchantEvaluationDao {

    
    List<CareWelfareMerchantEvaluationDO> search(final CareWelfareMerchantEvaluationBSearcher innerSearcher);

    
    CareWelfareMerchantEvaluationDO get(final String id);

    
    Integer insert(final CareWelfareMerchantEvaluationDO careWelfareMerchantEvaluationDO);

    
    Integer update(final CareWelfareMerchantEvaluationDO careWelfareMerchantEvaluationDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    CareWelfareMerchantEvaluationCountDTO selectEvaluationCount(@Param("merchantId") String merchantId);
}
